package com.aaa.entity;

import com.aaa.ann.ColumnAnn;
import com.aaa.ann.EntityAnn;
import jdk.nashorn.internal.ir.debug.PrintVisitor;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/6/15 10:39
 * @description：部门实体类
 * @modified By：
 * @version: 1.0
 */
@EntityAnn(tableName = "dept")
public class Dept {
    @ColumnAnn(colName = "deptno")
    private int deptno;
    @ColumnAnn(colName = "dname")
    private String dname;
    @ColumnAnn(colName = "loc")
    private String loc;

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }
}
